]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
build: Stop using appstream-util for metainfo validation
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 21 Oct 2024 00:43:24 +0000 (02:43 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sat, 23 Nov 2024 12:14:05 +0000 (13:14 +0100)
Everything, including flathub[0], should be using appstreamcli
now, so stop supporting the old tool as well.

[0] https://docs.flathub.org/blog/improved-build-validation

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3520>
(cherry picked from commit a79d517c1212205fdd3efd7724fc1b6b930be7c6)

subprojects/extensions-app/data/metainfo/meson.build
subprojects/extensions-app/meson.build

index a2f63ec70c956ded3d650512b479b5bd449ae254..13e562b79be12835a2ef97d4bbf93d2352d7a8e8 100644 (file)
@@ -14,14 +14,6 @@ metainfo = i18n.merge_file(
   install_dir: metainfodir
 )
 
-if (appstream_util.found())
-  test('Validating metainfo via appstream_util',
-    appstream_util,
-    args: ['validate', '--nonet', metainfo],
-    workdir: meson.current_build_dir()
-  )
-endif
-
 # Validate Appdata
 if (appstreamcli.found())
   test('Validating metainfo',
index 0f5ace7b6d62e037e40f59dcebcee4f293ac5c10..5d66d9feef183f7e77a21b04da4b0b589ed7dc78 100644 (file)
@@ -48,7 +48,6 @@ schemadir = join_paths(datadir, 'glib-2.0', 'schemas')
 servicedir = join_paths(datadir, 'dbus-1', 'services')
 
 gjs = find_program('gjs')
-appstream_util = find_program('appstream-util', required: false)
 appstreamcli = find_program('appstreamcli', required: false)
 desktop_file_validate = find_program('desktop-file-validate', required: false)